-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(base) Give a hint in web interface if SimpleXML (php-xml) is missing #38857
(base) Give a hint in web interface if SimpleXML (php-xml) is missing #38857
Conversation
a090776
to
856967a
Compare
Test failures appear unrelated. jsunit had a bunch of setup errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will cli behave in this situation?
The CLI will behave how it does now - i.e. it'll generate an I suppose this is an opportunity to provide a friendly message at the command-line too, but the stack trace is at least visible there... |
856967a
to
14c2b40
Compare
Fixes nextcloud#2180 And prevents nextcloud#31473, nextcloud#23970, nextcloud#18610, nextcloud#15708 Avoids a 500 error and also gives a useful error message on the web interface if this module isn't installed, gets overlooked during a PHP upgrade, etc. While we check for it later, it's too late for session. Inspired by nextcloud#17163 Signed-off-by: Josh Richards <[email protected]>
14c2b40
to
8032b6a
Compare
Rebased and addressed 💪 |
🎉 🎉 🎉 |
Summary
Avoids a 500 error and also gives a useful error message on the web interface if this module isn't installed, gets overlooked during a PHP upgrade, etc.
TODO
Checklist